import strategy.TripStrategy;

/**
 * @Author Liu Chang
 * @Date 2021/11/1 7:25 下午
 */
public class TripContext {
    private TripStrategy strategy;

    public TripContext(TripStrategy strategy) {
        this.strategy = strategy;
    }

    public void executeStrategy() {
        strategy.tripOperation();
    }
}
